Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added resource error details for polling state #438

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Dray56
Copy link
Contributor

@Dray56 Dray56 commented Dec 9, 2024

fix #437

@Dray56
Copy link
Contributor Author

Dray56 commented Dec 10, 2024

@sneal Could you take a look at this?

@sneal
Copy link
Contributor

sneal commented Dec 20, 2024

I can see why it would be convenient in some cases and avoids an additional API query to see the underlying details. On the other hand the various objects which can be polled have different structures. Single string, array of strings, and the the job object also has warnings.

I think we should have a specific error type for failed async jobs that contain the underlying CF error details that supports an array of error messages.

The Job resource already returns the first underlying CF error when it encounters an AsyncProcessFailedError, so that should be removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Exact Error not appearing in case of poll scenarios
2 participants